package com.own.component.common.exception;


import com.own.base.BaseResponseCode;
import com.own.component.common.em.BusinessEnum;

/**
 * BusinessSimpleException
 *
 * @author chenxueli
 * @date 2023-10-08 10:30:36
 */
public class BusinessSimpleException extends BusinessException {

    public BusinessSimpleException() {
        super(BusinessEnum.DEFAULT);
    }

    public BusinessSimpleException(String message) {
        super(BusinessEnum.DEFAULT.code(), message);
    }

    public BusinessSimpleException(String code, String message) {
        super(code, message);
    }

    public BusinessSimpleException(BaseResponseCode responseCode) {
        super(responseCode);
    }

}
